import { gql } from "@apollo/client";

const doseFormListGql = gql`
  query ($pageBean: PageBeanInput) {
    queryMaxFormList(pageBean: $pageBean) {
      pageNow
      count
      maxFormList {
        formId
        termId
        formEng
        ehrStatus
        formChi
        formMultiplier
        stageId
      }
    }
  }
`;

const doseFormDataDictionaryGql = gql`
  {
    queryStageList {
      stageId
      stageDisplay
      stageDescription
    }
    queryEhrStatusList {
      ehrStatus
      ehrStatusDescription
    }
    queryEhrDescriptionList(subsetId: 104) {
      termIdEhrDesc
      ehrValue
    }
  }
`;

export { doseFormListGql, doseFormDataDictionaryGql };
